import i18n from '@/i18n/i18n' // 回款状态 0 待回款 1 回款完成 2 部分回款 3 作废 4 逾期 5 待生效
export function getPlanReceivablesStatusName(receivedStatus) {
  if (receivedStatus == 0) {
    return i18n.t('crm.receivablesPlan.6c4f9d4afc91ba732238c0fb44dd9697')
  } else if (receivedStatus == 1) {
    return i18n.t('crm.receivablesPlan.3e6cd51b484817824fbbfb5a9ab5fcf9')
  } else if (receivedStatus == 2) {
    return i18n.t('crm.receivablesPlan.3a4a78a74fc35cee448f81d7f8b07e5e')
  } else if (receivedStatus == 3) {
    return i18n.t('crm.receivablesPlan.9a28163ad2296f4706bf929cd77c71c5')
  } else if (receivedStatus == 4) {
    return i18n.t('crm.receivablesPlan.008cf75414c0c8f89f2aa01bcb64db60')
  } else if (receivedStatus == 5) {
    return i18n.t('crm.receivablesPlan.5c838ab7cf0d57333e1213f969988935')
  }
}
